﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>控制开关统计</title>
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <link href="../../js/jquery-easyui-1.4/themes/default/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../js/jquery-easyui-1.4/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-easyui-1.4/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.4/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.4/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="ComSet.js" type="text/javascript"></script>
</head>
<body class="easyui-layout">
    <div data-options="region:'center',title:'短信配置',noheader:true,">
        <table id="dg">
        </table>
        <div id="d_tb" style="padding-top: 8px;padding-left:15px;">
            <form id="searchForm" action="../../service/ComSet.ashx" onsubmit="$('#queryBtn').focus().click();return false;">
                <input type="hidden" name="action" value="QueryByPage" />
                <div style="padding-bottom:5px">
                <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="ChangeInUseing()">启用/禁用</a>
                <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="ShowModify()">修改</a>
                <a href="?" class="easyui-linkbutton" iconcls="icon-reload" plain="true">重载</a>
                </div>
            </form>
        </div>
    </div>
    <div style="display:none">
    
        <div id="dlg" title="修改短信配置"
            data-options="iconCls:'icon-edit',resizable:true,modal:true"
            buttons="#dlg_buttons"
             style="padding:20px;"
         >
         <form action="../../service/ComSet.ashx" class="mainForm" onsubmit="$('#dlg_buttons .save').focus().click();return false;">
            <input type="hidden" name="action" value="Modify" />
            <input style="display:none" name="Id" />
             
             <table>
                <tr>
                    <td>
                        端口号:<input name="SetName" class="easyui-textbox" style="width:120px;" />
                    </td>
                    <td>
                        是否启用:<input name="InUseing" class="easyui-textbox" style="width:90px;" />
                    </td>
                </tr>
                <tr>
                    <td>
                    波特率:<input name="Rate" class="easyui-textbox" style="width:120px;" />
                    </td>
                    <td>
                        发送速度:<input name="Pace" class="easyui-textbox" style="width:90px;" />
                    </td>
                </tr>
                
                <tr>
                    <td colspan="2">
                    短信中心:<input name="Serno" class="easyui-textbox" style="width:180px;" />
                    </td>
                </tr>

                <tr>
                <td>许可发送条数:<input name="MsgMax" class="easyui-textbox" style="width:80px;" /></td>
                <td>已发送条数:<input name="MsgSendedCount" class="easyui-textbox" style="width:90px;" /></td>
                </tr>

                <tr>
                    <td colspan="2" style="border:1px solid gray;padding:20px;">
                        发送范围
                    
                    </td>
                </tr>
             
             </table>
             <input type="submit" style="display:none" />
        </div>
        <div id="dlg_buttons">
            <a href="#" class="easyui-linkbutton save" iconCls="icon-save" onclick="Dlg_Save()">保存</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="$('#dlg').dialog('close');">关闭</a>
        </div>
    
    </div>

    </div>

</body>
</html>
